Patchstack\Extensions\WordPress\Extension B

Total Complexity 91
Dependencies 4
Dependents 2
Total lines 496
Lines of code 255
Logical lines of code 155
Comment lines 145
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
isWhitelisted()
B
41 22 49
logRequest()
B
44 19 38
isWhitelistedCustom()
A
46 14 38
canBypass()
A
55 9 18
merge_counters()
S
52 6 24
isBlocked()
S
53 4 24
isLegacyRuleMatch()
S
60 4 14
forceExit()
S
61 3 13
check_range_rule()
S
62 3 11
isFileUploadRequest()
S
78 2 3
__construct()
S
75 1 4
getIpAddress()
S
81 1 3
getHostName()
S
79 1 3
check_subnet_mask_rule()
S
65 1 8
check_wildcard_rule()
S
71 1 5